/* 全局样式表 */

html,
body,
#app {
    height: 100%;
    margin: 0;
    padding: 0;
    // min-width: 1366px;
}

/* 把我们所有标签的内外边距清零 */
* {
    margin: 0;
    padding: 0;
    /* css3盒子模型 */
    box-sizing: border-box;
}

/* em 和 i 斜体的文字不倾斜 */
em,
i {
    font-style: normal
}

/* 去掉li 的小圆点 */
li {
    list-style: none
}

img {
    /* border 0 照顾低版本浏览器 如果 图片外面包含了链接会有边框的问题 */
    border: 0;
    /* 取消图片底侧有空白缝隙的问题 */
    vertical-align: middle
}

button {
    /* 当我们鼠标经过button 按钮的时候，鼠标变成小手 */
    cursor: pointer
}

.icon {
    width: 1em;
    height: 1em;
    vertical-align: -0.15em;
    fill: currentColor;
    overflow: hidden;
}

// 五角星颜色
.ant-rate {
    color: #E1639C;
    font-size: 14px;

    &:hover {
        font-size: 14px;
    }
}

// nav导航栏部分
.ant-dropdown-menu {
    border-radius: 10px;

    .ant-dropdown-menu-item {
        border-radius: 5px;

        a {
            color: rgba($color: #000000, $alpha: 0.7);
            font-size: 14px;
            padding: 9px 24px;
            border-radius: 5px;

            &:hover {
                background-color: #E1639C;
                color: #FFF;
                transition: all 0.3s cubic-bezier(.645, .045, .355, 1);
            }

            .menu-item-set {
                padding: 9px 24px;
            }
        }

        // 配置图标
        .menu-item-set {
            color: #ccc;

            svg.icon {
                margin-right: 5px;
                font-size: 20px;
                position: relative;
                top: 2px;
            }
        }
    }

    // 星级评分
    .star-item {
        padding: 6px 38px 6px 18px;
        border-radius: 5px;

        &:hover {
            background-color: #E1639C;
            color: #FFF;
            transition: all 0.3s cubic-bezier(.645, .045, .355, 1);
        }
    }

    // 退出登录
    .logout {
        &:hover {
            background-color: #E1639C;
            color: #FFF;
            transition: all 0.3s cubic-bezier(.645, .045, .355, 1);
        }
    }
}

// 导航栏日期选择
a.ant-calendar-month-select:hover,
a.ant-calendar-month-panel-month:hover,
.ant-calendar-month-panel-header a:hover,
a.ant-calendar-year-select:hover,
a.ant-calendar-year-panel-year:hover,
.ant-calendar-year-panel-header a:hover {
    color: #E1639C;
}

.ant-input-affix-wrapper .ant-input {
    position: relative;
    text-align: inherit;
    border-radius: 50px;
    border-style: none;
    background-color: #EEEEEE;
}

// 弹出对话框confirm确认按钮
button.ant-btn.ant-btn-primary {
    background-color: #E987B3;

    &:hover {
        background-color: #E1639C;
        transition: all 0.3s cubic-bezier(.645, .045, .355, 1);
    }
}

// 项目抓取部分
#capture {
    .ant-rate {

       
    }

    // 抓取--菜单状态/\箭头/
    .ant-menu-submenu-arrow::before,
    .ant-menu-submenu-arrow::after {
        width: 7px;
        position: absolute;
        left: -307px;
    }

    // 菜单打开状态/\箭头右/
    .ant-menu-submenu-open.ant-menu-submenu-inline>.ant-menu-submenu-title>.ant-menu-submenu-arrow::before {
        transform: rotate(-45deg) translateX(3.3px);
        position: absolute;
        top: 3px;
    }

    // 菜单打开状态/\箭头左\
    .ant-menu-submenu-open.ant-menu-submenu-inline>.ant-menu-submenu-title>.ant-menu-submenu-arrow::after {
        transform: rotate(45deg) translateX(-3.3px);
        position: absolute;
        top: 3px;
    }

    // 菜单收起状态\/箭头上\
    .ant-menu-inline-collapsed .ant-menu-submenu-arrow::before,
    .ant-menu-submenu-inline .ant-menu-submenu-arrow::before {
        transform: rotate(45deg) translateX(-3.3px);
    }

    // 菜单收起状态\/箭头下/
    .ant-menu-inline-collapsed .ant-menu-submenu-arrow::after,
    .ant-menu-submenu-inline .ant-menu-submenu-arrow::after {
        transform: rotate(-45deg) translateX(-3.3px);
    }

    // 取消下拉菜单右边竖线
    .ant-menu-inline,
    .ant-menu-vertical,
    .ant-menu-vertical-left {
        border-right: 0;
    }

    // 下拉菜单行高
    .ant-menu-item,
    .ant-menu-submenu-title {
        height: 25px;
        line-height: 25px;
        width: 345px;
        padding: 0;
    }
}

